<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML {$html_attrs}><HEAD><TITLE>Execução</TITLE>
<link REL="stylesheet" href="include/style.css" type="text/css"><!--[if IE]><link REL="stylesheet" href="include/styleIE.css" type="text/css"><![endif]-->
<STYLE>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;width:100%}
#header_block{$id} {width:100%;white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#fields_block{$id} td {padding-left:10px}
#buttons_block{$id} {width:100%;padding-bottom:5px;text-align:center}
#required_block{$id} {text-align:left;padding:5px}
#span{$id} {margin:0 20px 0 20px;}
</STYLE>

<META content="MSHTML 6.00.6000.17092" name=GENERATOR></HEAD>
<BODY>{BEGIN body}{$header} {BEGIN editForm}
<DIV class=errOutput id=errOutput></DIV>
<DIV class=zpFormContent>
<TABLE id="center_block{$id}" width=760 align=center>
  <TBODY>
  <TR>
    <TD id="contents_block{$id}">
      <DIV id="header_block{$id}">
      <H1>Execução, Editar registro [ ID: {$show_key1} 
      ] </H1></DIV>
      {BEGIN message_block}<DIV class=downedit id="message_block{$id}">{$message} 
      </DIV>{END message_block}
      <DIV align=left>
      <HR width="100%" noShade SIZE=1>
      </DIV>&nbsp;&nbsp;&nbsp;<A href="execucao_list.php?a=return"><IMG 
      height=20 alt=Voltar src="botoes/bt_voltar.gif" width=58 border=0></A><A 
      href="execucao_list.php?a=return" {$backbutton_attrs}></A><BR><BR>
      <TABLE id="fields_block{$id}" cellSpacing=2 cellPadding=4 border=0>
        <TBODY>
        {BEGIN o_que_fieldblock}<TR>
          <TD class=shade width=159>{BEGIN o_que_label}O Que{END o_que_label}</TD>
          <TD colSpan=3><STRONG>{$o_que_editcontrol}</STRONG></TD></TR>{END o_que_fieldblock}
        {BEGIN data_inicio_plan_fieldblock}<TR>
          <TD class=shade>{BEGIN data_inicio_plan_label}Data Inicio 
            Planejado{END data_inicio_plan_label}</TD>
          <TD width=138>{$data_inicio_plan_editcontrol} </TD>
          <TD class=shade width=170><SPAN class=shade>{BEGIN data_inicio_exec_label}Data Inicio Executado{END data_inicio_exec_label}</SPAN></TD>
          <TD width=234>{$data_inicio_exec_editcontrol}</TD></TR>{END data_inicio_plan_fieldblock}
        {BEGIN data_fim_plan_fieldblock}<TR>
          <TD class=shade>{BEGIN data_fim_plan_label}Data Fim Planejado{END data_fim_plan_label}</TD>
          <TD>{$data_fim_plan_editcontrol} </TD>
          <TD class=shade><SPAN class=shade>{BEGIN data_fim_exec_label}Data Fim Executado{END data_fim_exec_label}</SPAN></TD>
          <TD>{$data_fim_exec_editcontrol}</TD></TR>{END data_fim_plan_fieldblock}{BEGIN data_inicio_exec_fieldblock}{END data_inicio_exec_fieldblock}{BEGIN data_fim_exec_fieldblock}{END data_fim_exec_fieldblock}
        {BEGIN valor_plan_fieldblock}<TR>
          <TD class=shade>{BEGIN valor_plan_label}Valor Planejado{END valor_plan_label}</TD>
          <TD>{$valor_plan_editcontrol} </TD>
          <TD class=shade><SPAN class=shade>{BEGIN valor_exec_label}Valor 
            Executado{END valor_exec_label}</SPAN></TD>
          <TD>{$valor_exec_editcontrol}</TD></TR>{END valor_plan_fieldblock}{BEGIN valor_exec_fieldblock}{END valor_exec_fieldblock}
        {BEGIN descr_problema_fieldblock}<TR>
          <TD class=shade>{BEGIN descr_problema_label}Descr Problema{END descr_problema_label}</TD>
          <TD colSpan=3>{$descr_problema_editcontrol} </TD></TR>{END descr_problema_fieldblock}
        {BEGIN resultado_fieldblock}<TR>
          <TD class=shade>{BEGIN resultado_label}Resultados{END resultado_label}</TD>
          <TD colSpan=3>{$resultado_editcontrol} </TD></TR>{END resultado_fieldblock}
        {BEGIN acoes_futuras_fieldblock}<TR>
          <TD class=shade>{BEGIN acoes_futuras_label}Acoes Futuras{END acoes_futuras_label}</TD>
          <TD colSpan=3>{$acoes_futuras_editcontrol} </TD></TR>{END acoes_futuras_fieldblock}
        {BEGIN situacao_fieldblock}<TR>
          <TD class=shade>{BEGIN situacao_label}Situacao{END situacao_label}</TD>
          <TD colSpan=3>{$situacao_editcontrol} </TD></TR>{END situacao_fieldblock}</TBODY></TABLE>
      <DIV id="buttons_block{$id}"><BR>&nbsp;&nbsp;&nbsp;<A 
      href="execucao_list.php?a=return" {$backbutton_attrs}></A> 
      <DIV align=left>
      <HR width="100%" noShade SIZE=1>
      </DIV>
      {BEGIN legend}<DIV id="required_block{$id}"><IMG alt=bullet 
      src="images/icon_required.gif"> - Preenchimento Obrigatório</DIV>{END legend}{$legendBreak} 
      {BEGIN save_button}<INPUT type=image src="botoes/bt_gravar.gif" value=submit name=input>{END save_button} {BEGIN reset_button}<INPUT type=image src="images/bt_cancelar.gif" value=submit name=input>{END reset_button} <SPAN id="span{$id}">&nbsp;</SPAN> {BEGIN prev_button}<INPUT class=button id="prev{$id}" type=reset value=" <<< " {$prevbutton_attrs}>{END prev_button} 
{BEGIN next_button}<INPUT class=button id="next{$id}" type=reset value=" >>> " {$nextbutton_attrs}>{END next_button} 
      </DIV></TD></TR></TBODY></TABLE></DIV>{END editForm}{BEGIN detail_tables}{END detail_tables}<BR><BR>{$footer} {END body}
<SCRIPT src="templates_js/execucao_edit.js" charset=iso-8859-1></SCRIPT>

<SCRIPT>

new Zapatec.Form({
	form: 'editform1',
	showErrors: 'afterField',
	showErrorsOnSubmit: false,
	submitErrorFunc: testErrOutput,
	theme: "default"
});
</SCRIPT>
</BODY></HTML>